package com.free;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class CWBrowser extends Activity {
	  WebView browser;

	  @Override
	  public void onCreate(Bundle icicle) {
	    super.onCreate(icicle);

	    setContentView(R.layout.site);
	    
	    browser = (WebView) findViewById(com.free.R.id.webview);
	    //browser = new WebView(this);
	    browser.setWebViewClient(new MyWebViewClient());
	    browser.getSettings().setJavaScriptEnabled(true);
	    //setContentView(browser);
	    browser.loadUrl("file:///android_asset/www/frame.html");
	    //browser.loadUrl("http://www.baidu.com");
	  }
	}
